/*
 * @Description: 
 * @version: 
 * @Author: erze
 * @Date: 2021-05-18 11:01:31
 * @LastEditors: erze
 * @LastEditTime: 2021-05-18 15:36:06
 */
export function convertDate(){
    let date = new Date();

    const yyyy = date.getFullYear();
    const MM = date.getMonth()+1;
    const dd = date.getDate();

    const hh = date.getHours();
    const mm = date.getMinutes();
    const ss = date.getSeconds();

    let str = date.toLocaleDateString();

    return `${yyyy}-${MM}-${dd} ${hh}:${mm}:${ss}`

}
